import request from '@/utils/request';

const applicationResourceApi = {};


applicationResourceApi.page = (params) => {
	return request({
		url: '/auth-api/application-resource/page',
		method: 'get',
		params: params,
	})
}
applicationResourceApi.add = (params) => {
	return request({
		url: '/auth-api/application-resource',
		method: 'post',
		data: params,
	})
}
applicationResourceApi.update = (params) => {
	return request({
		url: '/auth-api/application-resource',
		method: 'put',
		data: params,
	})
}
applicationResourceApi.get = (id) => {
	return request({
		url: '/auth-api/application-resource/' + id,
		method: 'get',
	})
}
applicationResourceApi.delete = (id) => {
	return request({
		url: '/auth-api/application-resource/' + id,
		method: 'delete',
	})
}


export default applicationResourceApi